-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2E: Improve multiple block moving test stability #47423
Conversation
Size Change: 0 B Total Size: 1.33 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic behind changes makes sense to me. Thank you, @WunderBart!
Flaky tests detected in 804eb94. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4007267833
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
What?
The flakiness of these tests has increased after enabling the concurrent mode in #46467. Let's improve the stability by waiting for the UI to catch up.
Context: #47173 (comment)
How?
The UI sometimes doesn't catch up with the keyboard strokes that select multiple blocks. This causes the multiple block moving tests to sometimes move just one block. To address that, we need to wait until the blocks are in the "Multiple selected blocks" state before moving them.
Testing Instructions
This can be tested locally via the following: